/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ftpcombiner.server.virtualfiles;

import ftpcombiner.server.serverconnection.File;
import java.util.Enumeration;
import javax.swing.tree.TreeNode;

/**
 *
 * @author Gary
 */
public class VirtualFile extends VirtualItem<File> {

    public VirtualFile(File alias, VirtualFolder parent) {
        super(alias, parent);
    }

    @Override
    public TreeNode getChildAt(int childIndex) {
        return null;
    }

    @Override
    public int getChildCount() {
        return 0;
    }

    @Override
    public int getIndex(TreeNode node) {
        return 0;
    }

    @Override
    public boolean getAllowsChildren() {
        return false;
    }

    @Override
    public boolean isLeaf() {
        return true;
    }

    @Override
    public Enumeration children() {
        return null;
    }
}
